package com.mibotiquin.alarmas;

import com.actionbarsherlock.app.ActionBar;
import com.mibotiquin.misfarmacos.FragmentTabs.TabManager;

import com.mibotiquin.R;

import android.os.Bundle;
import android.widget.TabHost;

import com.actionbarsherlock.app.SherlockFragmentActivity;

public class ListaAlarmasActivity extends SherlockFragmentActivity {
	
	private TabHost mTabHost;
    private TabManager mTabManager;
	
	@Override
	public void onCreate(Bundle savedInstanceState){
		
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.lista_alarmas);
		
		ActionBar ab = getSupportActionBar();
    	ab.setDisplayOptions(ActionBar.DISPLAY_SHOW_TITLE|ActionBar.DISPLAY_SHOW_HOME|ActionBar.DISPLAY_HOME_AS_UP);
		
    	mTabHost = (TabHost)findViewById(android.R.id.tabhost);
        mTabHost.setup();

        mTabManager = new TabManager(this, mTabHost, R.id.realtabcontent);
        
        mTabManager.addTab(mTabHost.newTabSpec("Lista de alarmas").setIndicator("Lista de alarmas"),
     		   AlarmasFragmentActivity.AlarmasListFragment.class, null);
			
	}
}
	

